import request from '../utils/request'

export const delPlayersService = (id) => {
  return request.delete('/player/delete', {
    params: { id },
  })
}
//获取队伍列表
export const getPlayersInfoService = () => {
  return request.get('/players/list')
}

//获取队伍详细信息
export const editPlayersService = (id) => {
  return request.get('/players/detail', id)
}
